<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			"use strict"
			var setint = setInterval(function(){
				console.log(setint)//结果一直是  1
			},1000);
			var setint2 = setInterval(function(){
				console.log(setint2)//结果一直是  2
			},1000);
			clearInterval(1);//这样的话会阻断第一个 循环
			clearTimeout(2);//这样同样可以阻断第二个 循环
			
			var setint3;
			setTimeout(function(){
				setint3 = setInterval(function(){
					console.log(setint3);//结果一直是  5
				},1000);
			},1000);
			var json = {a:"a1",b:"b1",c:"c1"};
			for(var i in json){
				console.log(i);
			}
		</script>
	</body>
</html>